﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>天翼宽带短信验证码获取</title>
    <link href="Content/bootstrap.css" rel="stylesheet" />
    <link href="Content/font-awesome.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="container">
            <div class="row">
                <div class="col-md-6 col-md-offset-3">
                    <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3>天翼宽带短信验证码获取</h3>
                    </div>
                    <div class="panel-body">
                        <div class="form-group col-md-8 col-md-offset-2">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-mobile-phone"></i></span>
                                <asp:TextBox ID="tbNum" CssClass="form-control" placeholder="在此输入手机号" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <div class="form-group col-md-8 col-md-offset-2">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-unlock-alt"></i></span>
                                <asp:TextBox ID="tbCode" CssClass="form-control" placeholder="在此输入验证码" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <div class="form-group col-md-6 col-md-offset-3">
                            <asp:Button ID="getCode" CssClass="btn btn-primary" runat="server" Text="获取验证码" OnClick="getCode_Click"/>
                            <asp:Button ID="validCode" CssClass="btn btn-success" runat="server" Text="确认验证码" OnClick="validCode_Click"/>
                        </div>
                    </div>
                    <div class="panel-footer">
                        &copy;CrazyChen(移植自此作者源码)
                    </div>
                    </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
    </form>
    <script src="Scripts/jquery-1.9.1.js"></script>
    <script src="Scripts/bootstrap.js"></script>
</body>
</html>
